class D
{
public:
	D()
	{
		dd=10;
	}
	D& operator =(D* d)
	{
		dd =d->dd;
		return *this;
	}
private:
	int dd;
};